package com.xjoyt.pay.master.controllers;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.xjoyt.pay.controllers.AbstractController;
import com.xjoyt.pay.dto.ExecuteResult;
import com.xjoyt.pay.master.services.MerchantChannelRateService;
import com.xjoyt.pay.master.vo.MerchantChannelMap;

@RestController
@RequestMapping("merchantChannelRate")
public class MerchantChannelRateController extends AbstractController {

	@Autowired
	private MerchantChannelRateService service;

	@RequestMapping("save")
	public ExecuteResult<?> save(@RequestBody MerchantChannelMap param) {
		return service.save(param);
	}
}
